<?php $themeUri = get_template_directory_uri(); ?>
</div>
    <div id="footer">
    	<div class="container">
        	<div class="row">
                <?php if(is_active_sidebar('footer_1')) dynamic_sidebar('footer_1') ?>

                <?php if(is_active_sidebar('footer_2')) dynamic_sidebar('footer_2') ?>
                	
                <?php if(is_active_sidebar('footer_3')) dynamic_sidebar('footer_3') ?>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="<?php echo $themeUri; ?>/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="<?php echo $themeUri; ?>/js/bootstrap.js"></script>
<script type="text/javascript" src="<?php echo $themeUri; ?>/js/owl.carousel.min.js"></script>
<script src="<?php echo $themeUri; ?>/js/novahome.js" type="text/javascript"></script>
<?php wp_footer() ?>
<script type="text/javascript">
    $(function() {
        $('#frmContact').submit(function() {
            var err = false;
            $.each($('.required'), function(key, val) {
                if($(val).val() == '') {
                    $(val).parent('.form-group').css('border-color', 'red');
                    err = true;
                }
                else {
                    $(val).parent('.form-group').css('border-color', 'none');
                }
            });
            if(err) {
                alert('Vui lòng nhập đầy đủ thông tin');
                return false;
            }
        })
    })
</script>

</body>
</html>
